package com.qst.crop.service.impl;

import com.qst.crop.common.vo.LineShow;
import com.qst.crop.common.vo.Sheng;
import com.qst.crop.dao.MapDao;
import com.qst.crop.service.MapService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class MapServiceImpl implements MapService {
   @Autowired
   private MapDao mapDao;
    @Override
    public List<Sheng> map() {

        return mapDao.map();
    }

    @Override
    public List<LineShow> line() {
        return mapDao.lines();
    }
}
